﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using MobileSales.Server.Services;

namespace MobileSales.Server.RestServices
{
    public class EmployeeServiceREST : EmployeeService, IEmployeeServiceREST
    {

        public Model.Employees.Employee GetEmployee(string employeeId)
        {
            return base.GetEmployee(int.Parse(employeeId));
        }

        public Model.Employees.Message GetMessage(string messageId)
        {
            return base.GetMessage(int.Parse(messageId));
        }

        public IEnumerable<Model.Employees.Message> GetMessageList(string employeeId)
        {
            return base.GetMessageList(int.Parse(employeeId));
        }
    }
}
